package com.sixdog.regulate.bean;

import java.util.ArrayList;
import java.util.Arrays;

public class CmdResult {
    private StringBuilder command;
    private String statusMessage;
    private ArrayList<String> lines;

    public CmdResult() {
    }

    public CmdResult(StringBuilder command) {
        this.command = command;
    }

    public StringBuilder getCommand() {
        return command;
    }

    public void setCommand(StringBuilder command) {
        this.command = command;
    }

    public String getStatusMessage() {
        return statusMessage;
    }

    public void setStatusMessage(String statusMessage) {
        this.statusMessage = statusMessage;
    }

    public ArrayList<String> getLines() {
        return lines;
    }

    public void setLines(ArrayList<String> lines) {
        this.lines = lines;
    }

    @Override
    public String toString() {
        return "CmdResult{" +
                "command='" + command + '\'' +
                ", statusMessage='" + statusMessage + '\'' +
                ", lines=" + lines +
                '}';
    }
}
